Configure VLAN via DHCP Option when CDP-LLDP is Not Allowed
AudioCodes Android devices can configure VLAN via a DHCP Option when CDP/LLDP is not allowed in the organization. The following DHCP Options offer a VLAN ID: Option 43, 132, 128, 129, 144, 157, 191. If the device gets more than one of these DHCP Options, it will apply only one according to the aforementioned order of priority.
Administrators can automatically configure VLAN Discovery Mode to CDP/LLDP/CDP+LLDP to get VLAN via a DHCP Option, or manually as described below. If VLAN Discovery Mode is disabled, the devices will not get VLAN via a DHCP Option.
| ● | When CDP/LLDP is allowed in the organization, devices will get VLAN via CDP/LLDP Discovery; they will not get it from a DHCP Option. LLDP/CDP Discovery takes precedence over a DHCP Option. |
| ● | Valid range of VLAN ID values: 0~4094. |
The following table specifies the syntax to use for the different DHCP options.
DHCP Option Syntax
| DHCP Option | Syntax | |||||||||
| DHCP Option 43 (vendor-encapsulated-options) |
DHCP Server, for MSCPEClient Vendor Class, 010 VLANID (VLAN identifier) has two types:
|
|||||||||
|
DHCP Option 128/129/144/157/191 |
Syntax: VLAN-A=<value>;(value=hex, octal or decimal). Examples:
VLAN ID is decimal 12.
VLAN ID is Hex 0xc (i.e., decimal 12).
VLAN ID is octal 014 (i.e., decimal 12). |
|||||||||
|
DHCP Option 132 |
Syntax: <value>; only supports a decimal value.
VLAN ID is 5. |